package com.swu.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 出院信息表
 * </p>
 *
 * @author 勾新杰
 * @since 2025-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("discharge_info")
@Schema(name="DischargeInfo对象", description="出院信息表")
public class DischargeInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "出院ID")
    @TableId(value = "discharge_id", type = IdType.AUTO)
    private Integer dischargeId;

    @Schema(description = "病案号")
    private String medicalRecordId;

    @Schema(description = "离院方式：1.医嘱离院 2.医嘱转院 3.医嘱转社区卫生服务机构/乡镇卫生院 4.非医嘱转院 5.死亡 9.其他")
    private Integer dischargeMethod;

    @Schema(description = "拟接收机构")
    private String receivingOrg;

    @Schema(description = "31天再住院计划：1-无,2-有")
    private Integer readmissionPlan;

    @Schema(description = "再住院目的")
    private String readmissionReason;

    @Schema(description = "入院前昏迷时间")
    private String comaPre;

    @Schema(description = "入院后昏迷时间")
    private String comaPost;


}
